const db = uniCloud.database();

exports.main = async (event, context) => {
	const collection = db.collection('share-img'); // 替换为你的集合名
	const res = await collection.get(); // 获取集合中所有数据
	return res;
};